{#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#}

#/*
# * Licensed to the Apache Software Foundation (ASF) under one
# * or more contributor license agreements.  See the NOTICE file
# * distributed with this work for additional information
# * regarding copyright ownership.  The ASF licenses this file
# * to you under the Apache License, Version 2.0 (the
# * "License"); you may not use this file except in compliance
# * with the License.  You may obtain a copy of the License at
# *
# *     http://www.apache.org/licenses/LICENSE-2.0
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */
yarn.nodemanager.local-dirs={{nm_local_dirs}}
yarn.nodemanager.log-dirs={{nm_log_dirs}}
yarn.nodemanager.linux-container-executor.group={{yarn_executor_container_group}}
banned.users=hdfs,yarn,mapred,bin
min.user.id={{min_user_id}}

{{ '[docker]' }}
  module.enabled={{docker_module_enabled}}
  docker.binary={{docker_binary}}
  docker.allowed.capabilities={{docker_allowed_capabilities}}
  docker.allowed.devices={{docker_allowed_devices}}
  docker.allowed.networks={{docker_allowed_networks}}
  docker.allowed.ro-mounts={{nm_local_dirs}},{{docker_allowed_ro_mounts}}
  docker.allowed.rw-mounts={{nm_local_dirs}},{{nm_log_dirs}},{{docker_allowed_rw_mounts}}
  docker.privileged-containers.enabled={{docker_privileged_containers_enabled}}
  docker.trusted.registries={{docker_trusted_registries}}
  docker.allowed.volume-drivers={{docker_allowed_volume_drivers}}

{{ '[gpu]' }}
  module.enabled={{gpu_module_enabled}}

{{ '[cgroups]' }}
  root={{cgroup_root}}
  yarn-hierarchy={{yarn_hierarchy}}